<template>
	<Row>
		<Button type="primary" @click="getData">操作</Button>
	</Row>
</template>
<script>
import axios from 'axios'
export default {
	name: '',
	data() {
		return {

		}
	},
	methods: {
		getData() {
			const url = `http://222.185.246.147:1000/backstage/stores/list`;
			return axios.post(url,
				{ "current": 1, "size": 10, "name": "" },
				{
					headers: {
						"token": "backstage_admin_1d9b651a3c3814ba090a41d31dcdc4ccd"
					}
				}
			)
		}
	},
	mounted() {
		this.getData().then(res => {
			console.log(res);
		})
	}
}
</script>

<style lang="scss" scoped></style>